
$(function(){
	showCondition(true);
	
    paramTabPage[tabId]= $("#tabContent > .tab-pane.active").data();
    
    $('#'+tabId+' #hosp_title').append(paramTabPage[tabId].adrgCode+"指标");
	
	
	getQuotas("ybbDrg", loadData, "ybbAdrgAvg-ul");
	
	function loadData(totalQuota){
		// MDC平均水平 (1.Hosp 2.All)
		loadHospQuota("adrg",totalQuota,"ybbAdrgAvgQuotasId","ybbAdrgAvg-ul","ybDrgTotal");
		// 加载指标的div
		loadDRGsQuota(totalQuota,"drgs","DRG","ybbDrgQuotasId","ybbDrg-ul");
		// 总体指标的数据加载
		loadDRGsQuotaData(totalQuota,"drgs",false,"ybDrgDetail");
	}
});



